package com.xxxx.crm.dao;

import com.xxxx.crm.base.BaseMapper;
import com.xxxx.crm.vo.Clock;

import java.util.Date;

public interface ClockMapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Clock record);

    int insertSelective(Clock record);

    Clock selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Clock record);

    int updateByPrimaryKey(Clock record);

    // 查询用户当天的打卡记录
    Clock queryTodayClockByUserId(Integer userId, Date today);



}